import request from '@/utils/request'

export const loginCodeRequest = (clientToken) => {
  // return request.get('/user-service/user/imageCode/' + clientToken)
  return request({
    url: '/user-service/user/imageCode/' + clientToken,
    method: 'get',
    responseType: 'blob'
  })
}

export const loginRequest = (data) => {
  return request.post('/user-service/user/login', data)
}

